package cn.yang.domain.credit.repository;

import cn.yang.domain.credit.model.aggregate.TradeAggregate;
import cn.yang.domain.credit.model.entity.CreditAccountEntity;

/**
 * @version v1.0
 * @ClassName: cn.yang.domain.credit.repository
 * @Description: TODO
 * @Author: YJ
 */
public interface ICreditRepository {
    void saveUserCreditTradeOrder(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);
}
